<?php

get_header();

echo "
<div class='posts'>
";

if( have_posts() ) {
    while( have_posts() ) {
    echo "<div>\n";
        the_post();
        echo "<h1>";
        the_title();
        echo "</h1>
        <div>\n";
        the_content();
        echo "</div>\n";
    echo "</div>\n";
    }
}

echo "
</div>
<div class='sidebar'>
    <ul>
";

dynamic_sidebar('default-sidebar') ;

echo "
    </ul>
</div>
";

get_footer();
// print_r("page.php");
?>

